<template>
 <div>
    <!-- <div>消息编号：{{$route.query.id}}</div>
    <div>消息标题：{{$route.query.title}}</div> -->
    <div>消息编号：{{id}}</div>
    <div>消息标题：{{title}}</div>
 </div>
</template>

<script>
export default {
  name: 'Detail',
  props: ['id', 'title'],
  data() {
   return {
     
   }
  },
  mounted() {
    console.log(this.$route)
  }
}
</script>
